package com.yidu.best.bond.securitiesInventory.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yidu.best.bond.securitiesInventory.domain.SecuritiesInventory;
import com.yidu.best.bond.securitiesInventory.domain.SecuritiesInventoryVo;

public interface SecuritiesInventoryDao {
	public int insertSecuritiesInventory(SecuritiesInventory securitiesInventory);

	public int updateSecuritiesInventory(SecuritiesInventory securitiesInventory);

	public int doSecuritiesInventoryappraisement(SecuritiesInventory securitiesInventory);

	public SecuritiesInventory findSecuritiesInventoryIdByFundIdandSecuritiesId(@Param("fundId") String fundId,
			@Param("securitiesId") String securitiesId);

	public SecuritiesInventory findSecuritiesInventoryIdBysecuritiesInventoryId(String securitiesInventoryId);

	public List<SecuritiesInventory> findPageQuery(SecuritiesInventoryVo securitiesInventoryVo);

	public int countSecuritiesInventory(SecuritiesInventoryVo securitiesInventoryVo);

	public int updateSecuritiesInventoryStatus(@Param("status") Integer status,
			@Param("securitiesInventoryId") String securitiesInventoryId);

}
